package cn.techwis.vo;

import cn.techwis.common.WxPayTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 所有下单入口vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EntrancePayVO {

    /**
     * 下单vo
     */
    private PayOrderVO payOrderVO;


    /**
     * 下单类型
     */
    @NotNull(message = "下单类型不能为空", groups = {EntrancePay.class})
    private WxPayTypeEnum wxPayTypeEnum;

    public @interface EntrancePay {
    }


}
